#pragma once

class Console_Subscriber 
{
	bool		IsSubscribed;	// If This address is subscribed
	std::string Identifier;		// Have to provide a identifier
protected:
	inline void SetIdentifier(const std :: string & newIdentity) { if(!IsSubscribed) Identifier = newIdentity; }
	Console_Subscriber(const std :: string & Identify);
	~Console_Subscriber();
public:
	virtual void Parse(const std :: string & Input);	// Parse what is typed in console
	inline const std :: string & Identity() const { return Identifier; }
};